

reshape long TrustIndex, i(CaseID) j(wave)  

generate waveXLatino = wave * Latino
generate waveXsource = wave * sources5
generate waveXsourceXLatino = wave * sources5 * Latino
generate waveXLiberal = wave * Liberal3
generate waveXDem = wave * Dem

generate waveXSpanDom = wave * SpanDom
generate waveXEngDom = wave * EngDom


generate waveXHighNews = wave * sources5
generate waveXHighNewsXLatino = wave * sources5 *Latino

xtset CaseID

sort Latino
by Latino: tabulate Dem SpanDom
by wave: tabulate sources5 Latino

**MODEL 1

xtreg TrustIndex wave waveXEngDom waveXSpanDom, fe


**MODEL 2
xtreg TrustIndex wave waveXEngDom waveXSpanDom waveXLiberal, fe

sort Liberal3
by Liberal3: xtreg TrustIndex wave waveXEngDom waveXSpanDom, fe

**MODEL 3
xtreg TrustIndex wave waveXEngDom waveXSpanDom waveXDem, fe

sort Dem
by Dem: xtreg TrustIndex wave waveXEngDom waveXSpanDom, fe

**MODEL 4 alternative

sort SpanDom
by SpanDom: xtreg TrustIndex wave waveXHighNews waveXLatino waveXHighNewsXLatino, fe

sort EngDom
by EngDom: xtreg TrustIndex wave waveXHighNews, fe 

sort Latino
by Latino: xtreg TrustIndex wave waveXHighNews, fe 

xtreg TrustIndex wave waveXsource waveXLatino waveXsourceXLatino, fe

sort Liberal3
by Liberal3: xtreg TrustIndex wave waveXHighNewsLat waveXLowNewsLat, fe
by Liberal3: xtreg TrustIndex wave sources5 waveXsource EthLangD2, fe

**Other:
xtreg TrustIndex wave waveXLatino, fe
xtreg TrustIndex wave waveXLatino waveXLiberal, fe
xtreg TrustIndex wave waveXLatino waveXDem, fe
